﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Configuration;
using System.Web.Mvc;

namespace ASP.NetAjaxApplication.Controllers
{
    [Authorize]
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        [HttpPost]
        public ActionResult Index(FormCollection forms)
        {
            if (forms["theme"]!=null)
            {
                Session["theme"] = forms["theme"];
            }
            return View();
        }

        public ActionResult OrderTestForm2()
        {
            return View();
        }

        public ActionResult RuleEditorBase()
        {
            return View();
        }

        public ActionResult GridView()
        {
            return View();
        }
        
        public ActionResult Test()
        {
            return View();
        }
    }
}
